package edu.java.homework.hw09.exercises.nikolay.food.salad;

import edu.java.homework.hw09.exercises.nikolay.food.product.EggProduct;
import edu.java.homework.hw09.exercises.nikolay.food.product.MeatProduct;
import edu.java.homework.hw09.exercises.nikolay.food.product.MilkProduct;
import edu.java.homework.hw09.exercises.nikolay.food.product.SpiceProduct;
import edu.java.homework.hw09.exercises.nikolay.food.product.VegetableProduct;

public class ShepherdSalad extends Salad {

	// --- Instance Variables --------------------------------------------------

	private MeatProduct ham;
	private EggProduct egg;
	private VegetableProduct[] vegetables;
	private MilkProduct[] milkProducts;
	private SpiceProduct[] spices;

	// --- Constructors --------------------------------------------------------

	public ShepherdSalad(int price) {
		super(price);
	}

	public ShepherdSalad(VegetableProduct[] vegetables, MeatProduct ham,
			MilkProduct[] milkProducts, EggProduct egg, SpiceProduct[] spices,
			int price) {
		super(price);
		this.vegetables = vegetables;
		this.ham = ham;
		this.milkProducts = milkProducts;
		this.egg = egg;
		this.spices = spices;
	}

	// --- Getters and Setters -------------------------------------------------

	public VegetableProduct[] getVegetables() {
		return vegetables;
	}

	public void setVegetables(VegetableProduct[] vegetables) {
		this.vegetables = vegetables;
	}

	public MeatProduct getHam() {
		return ham;
	}

	public void setHam(MeatProduct ham) {
		this.ham = ham;
	}

	public MilkProduct[] getMilkProducts() {
		return milkProducts;
	}

	public void setMilkProducts(MilkProduct[] milkProducts) {
		this.milkProducts = milkProducts;
	}

	public EggProduct getEgg() {
		return egg;
	}

	public void setEgg(EggProduct egg) {
		this.egg = egg;
	}

	public SpiceProduct[] getSpices() {
		return spices;
	}

	public void setSpices(SpiceProduct[] spices) {
		this.spices = spices;
	}

	// --- Methods -------------------------------------------------------------

	@Override
	public String toString() {
		return "Shepherd Salad";
	}
}
